﻿<center>
<table> 
<tr>
<td align="center" bgcolor="green" height="30" width="120"><a align="center" href="./"> <font color="white" >Bảng Điều Khiển</font></a></td>
<td align="center" bgcolor="green" height="30" width="120"><a align="center" href="./timkiem.php"> <font color="white" >Tìm Nhân Viên</font></a></td>
<td align="center" bgcolor="green" height="30" width="120"><a align="center" href="./them.php"> <font color="white" >Thêm Nhân Viên</font></a></td>
<td align="center" bgcolor="green" height="30" width="120"><a align="center" href="./xoa.php"> <font color="white" >Xóa Nhân Viên</font></a></td>
<td align="center" bgcolor="green" height="30" width="100"><a align="center" href="../"> <font color="white" >Trang Chủ</font></a></td>

</tr>

</table>
</center>

<?php
   
    // Lay Dia chi hien tai
    
    $host = $_SERVER['HTTP_HOST'];
    $self = $_SERVER['PHP_SELF'];
    $query = !empty($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : null;
    $url = !empty($query) ? "http://$host$self?$query" : "http://$host$self";
       
   
    $time = time();
    $log = date("H:i:s d/m/y",$time);
    
    $log .= '  '.$self;
    
    $file = fopen("log.txt","w");
    fwrite($file, $log, 200);
    fclose($file);
    
?>
